package com.lsl.factory.example1;

/**
 * @author Zed
 * @description
 * @date 2023/1/8 20:47
 */
public class CoinFactory {
    public static Coin getCoin(CoinType type) {
        return type.getConstructor().get();
    }
}
